package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.card.EntityPointConfig;
import com.ocom.common.request.payconfig.restaurant.RestaurantAddRequest;
import com.ocom.common.vo.payconfig.kitchenprinter.PointConfigOnPointInfoDto;

import java.util.List;

public interface PointConfigService extends IService<EntityPointConfig> {

    List<EntityPointConfig> restaurantList(Long comId, String strPoints, String pointName, int size, int page);

    boolean removeRestaurant(Long comId, Long pointId);

    EntityPointConfig newRestaurant(Long comId, Long pointId);

    EntityPointConfig newRestaurant(Long comId,RestaurantAddRequest request);

    boolean setRestaurantLogo(Long comId, Long pointId, String logoUrl);

    boolean restaurantQrCode(Long comId, Long pointId, String appid, String qrCodeUrl);

    boolean saveRestaurantInfo(Long comId, Long pointId, String address, String remark);

    boolean saveRestaurantInfo(Long comId, Long pointId, String address, String remark,Integer limitType);

    List<PointConfigOnPointInfoDto> findPointConfigOnPointInfoByPointId(Long comId, Long pointId);
}
